import http from "../../service/http";
// 获取邮箱验证码
export const getVerifyCodeApi = (email) => {
  return http.get(`common/user/getCode/${email}`);
}

// 注册
export const registerApi = (data) => {
  return http.post('common/user/register', data);
}